package com.bulemobi.activity.ac_message;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.bulemobi.net.tsz.afinal.annotation.view.ViewInject;
import com.bulemobi.view.BaseActivity;
import com.bulemobi.view.titleView.ActionBarView;
import com.jsyh.hcb.R;

/**
 * Created by 武 on 2014/9/19 0019.
 * 违章详情
 */
public class Ac_BreakRulesDetail extends BaseActivity implements View.OnClickListener{
    @ViewInject(id = R.id.tv_goPay)
    TextView tv_goPay;
    @ViewInject(id = R.id.actionBar)
    ActionBarView actionBarView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.ac_break_rules_mian);
        tv_goPay.setOnClickListener(this);
        actionBarView.title.setText("违章详情");
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            //单独缴费
            case R.id.tv_goPay:


//                View view1 = getLayoutInflater().inflate(R.layout.my_bank_dialog_box,null);
//                Button btn_dialog_confirm = (Button) view1.findViewById(R.id.btn_dialog_confirm);

//                final AlertDialog.Builder builder = new AlertDialog.Builder(Ac_BreakRulesDetail.this, R.style.WhiteDialog);
//                builder.setTitle("提示");
//                builder.setView(view1);
//                builder.setPositiveButton("确定", new DialogInterface.OnClickListener() {
//                    @Override
//                    public void onClick(DialogInterface dialog, int which) {
//                        dialog.cancel();
//                        removeDialog(which);
//                    }
//                });
//                builder.create().show();
//                btn_dialog_confirm.setOnClickListener(new View.OnClickListener() {
//                    @Override
//                    public void onClick(View v) {
//                        builder.create().dismiss();
//                    }
//                });
                break;
        }
    }
}
